import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
import vue from '@vitejs/plugin-vue'
export default {
  // 通过 vite dev 命令启动的服务器
  server: {
    // 启动服务器的端口
    port: 3030,
    // 启动服务器的地址
    host: '0.0.0.0'
  },
  plugins: [
    Components({
      resolvers: [ElementPlusResolver()],
    }),
    vue()
  ],
}
